import 'es6-promise/auto';
import React, { Component } from 'react';
import ReactDOM, { render } from 'react-dom';
import { Provider } from 'react-redux';
import route from './Config/Route'; //路由配置
import store from './Config/Store';


import 'normalize.css'; //重置浏览器默认样式
// import 'flex.css'; //flex布局

store.subscribe(function () {
    // console.log(store.getState());
});


render(
    <Provider store={store}>
        {route}
    </Provider>,
    document.getElementById('root')
)